var express = require('express');
var router = express.Router();



const {addParkingSpace,getParkingSpace,deleteParkingSpace,getParkingSpaceByID,getamendParkingSpaceID,amendParkingSpace}=require('../controllers/parkingSpace');

router.get('/getamendParkingSpace',getamendParkingSpaceID);
router.post('/',addParkingSpace);
router.get('/',getParkingSpace);
router.delete('/',deleteParkingSpace)
router.get('/:_id',getParkingSpaceByID);
router.put('/',amendParkingSpace)



module.exports = router;